
import Layout from '@/layout'

const testRouter = {
  path: '/test',
  component: Layout,
  redirect: '/test/index',
  alwaysShow: true, // will always show the root menu
  name: 'Electronic',
  meta: {
    title: '测试',
    icon: 'test',
    roles: ['admin']
  },
  children: [
    {
      path: 'index',
      name: 'Table',
      component: () => import('@/views/test/upload'),
      meta: { title: '上传测试', icon: 'search' }
    },
  ]
}

export default testRouter
